export default {
  install (Vue, options) {
	Vue.prototype.$jumpPage = function(e) {
	       var jumpType=e.currentTarget.dataset.jumptype;
	       var jumpurl=e.currentTarget.dataset.jumpurl;
	       if(jumpurl!=null&&jumpurl!=""){
	         if(jumpType==1){
	          uni.redirectTo({
	          	url:jumpurl,
	          })
	         }else{
	           uni.navigateTo({
	           	url:jumpurl,
	           })
	         }
	       }
	 };
  }
}